package com.xbs.controller.backstage;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.xbs.controller.base.BaseServlet;
import com.xbs.service.selfdriving.CarManageService;

/**
 * 车辆管理
 * @author Administrator
 *
 */
@WebServlet("/backstage/carmanageservlet1")
public class CarManage1Servlet extends BaseServlet {

	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		String carid = req.getParameter("carid");
		CarManageService carManageservice = new CarManageService();
		carManageservice.delete(carid);
	}
	
	@Override
	protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		doGet(req, resp);
	}
}
